package ro.gillardon.persistence.document.model;

import java.time.LocalDateTime;

import ro.gillardon.commons.enums.City;
/**
 * A concrete mean of transport.
 *
 * @author haiurar
 */
public class Plane extends Mot {

  /**
   * Instantiates a new plane.
   *
   * @param from the starting point
   * @param to the destination
   * @param departureDatetime the departure date and time
   * @param arrivalDatetime the arrival date and time
   * @param name the plane's name
   * @param duration the duration of the flight
   * @param motClass the class of the plane
   * @param price the price of the travel
   */
  public Plane(final City from, final City to, final LocalDateTime departureDatetime,
    final LocalDateTime arrivalDatetime, final String name,
    final double duration, final double price) {
    super(from, to, departureDatetime, arrivalDatetime, name, duration, price);
  }
}
